package com.kaifamiao.www.demo.do0810;

public class Test {
    public static void main(String[] args) {

        NodeList list = new NodeList();
        list.add("aaa");
        list.add("bbb");
        list.add("ccc");
        list.add("ddd");
        System.out.println(list);
        list.add(2,"www");
        System.out.println(list.toString());

        System.out.println(list.size());

        System.out.println(list.get(2));
        System.out.println(list.set(1, "qqq"));
        System.out.println(list);
        System.out.println(list.remove(1));
        System.out.println(list);

    }
}
